import 'package:duqing/config/app_colors.dart';
import 'package:flutter/material.dart';

final ThemeData themeData = ThemeData(
    primaryColor: AppColors.primary,
    scaffoldBackgroundColor: AppColors.page,
    indicatorColor: AppColors.active,
    splashColor: Colors.transparent,
    highlightColor: Colors.transparent,
    appBarTheme: const AppBarTheme(
      backgroundColor: AppColors.nav,
      elevation: 0
    ),
    textTheme: const TextTheme(
      bodyText2: TextStyle(
        color: AppColors.unactive,
      ),
    ),
    tabBarTheme: const TabBarTheme(
      unselectedLabelColor: AppColors.unactive,
      indicatorSize: TabBarIndicatorSize.label,
      labelStyle: TextStyle(
        fontSize: 18
      ),
      labelPadding: EdgeInsets.symmetric(horizontal: 12),
    ),
    bottomNavigationBarTheme: const BottomNavigationBarThemeData(
      backgroundColor: AppColors.nav,
      selectedItemColor: AppColors.active,
      unselectedItemColor: AppColors.unactive,
      selectedLabelStyle: TextStyle(
        fontSize: 12,
      ),
    ));
